home *** CD-ROM | disk | FTP | other *** search
/ AI Game Programming Wisdom / AIGameProgrammingWisdom.iso / SourceCode / 03 Pathfinding with Astar / 02 Higgins / Listing2.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2001-12-09  |  690 b   |  21 lines

  1. /* Copyright (C) Dan Higgins, 2001. 
  2.  * All rights reserved worldwide.
  3.  *
  4.  * This software is provided "as is" without express or implied
  5.  * warranties. You may freely copy and compile this source into
  6.  * applications you distribute provided that the copyright text
  7.  * below is included in the resulting source code, for example:
  8.  * "Portions Copyright (C) Dan Higgins, 2001"
  9.  */
  10. class AStarBase
  11. {
  12.     // normal stuff including the virtual destructor
  13.     virtual AStarGoalBase* GetGoalBase(void) = 0;
  14.     virtual void GetPath(vector<Waypoint>& outPath) = 0;    
  15.     virtual void RunAStar(void)  = 0;
  16.     virtual void SetBailoutCap(long inMaxRevolutions);
  17.     
  18.     // etc.
  19. };
  20.  
  21.